package cn.sc.summer.constant.mybatisplus;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 类名：副本线程保存的租户信息
 *
 * @author a-xin
 * @date 2024/6/29 11:46
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TenantInfo implements Serializable {

    private static final long serialVersionUID = -2697777161527126422L;

    /**
     * 是否忽略租户信息
     */
    private Boolean ignoreTenant;

    /**
     * 租户ID
     */
    private String tenantId;

}
